package com.ruoyi.project.system.recommenddetails.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 推荐详情对象 recommend_details
 * 
 * @author ruoyi
 * @date 2021-05-24
 */
public class RecommendDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 关联的recommend表的id主键 */
    @Excel(name = "关联的recommend表的id主键")
    private Long recommendId;

    /** 关联的应用ID（只会是app_sys表中的应用） */
    @Excel(name = "关联的应用ID", readConverterExp = "只=会是app_sys表中的应用")
    private Long appId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 是否移除标识：0否  1是 */
    @Excel(name = "是否移除标识：0否  1是")
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setRecommendId(Long recommendId)
    {
        this.recommendId = recommendId;
    }

    public Long getRecommendId()
    {
        return recommendId;
    }
    public void setAppId(Long appId)
    {
        this.appId = appId;
    }

    public Long getAppId()
    {
        return appId;
    }
    public void setAddtime(Date addtime)
    {
        this.addtime = addtime;
    }

    public Date getAddtime()
    {
        return addtime;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recommendId", getRecommendId())
            .append("appId", getAppId())
            .append("addtime", getAddtime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
